package com.smfx.yxt.view;

import java.util.List;

import com.smfx.yxt.model.AttachmentList;
import com.smfx.yxt.model.StudentLeave;

public class StudentLeaveView extends StudentLeave {

	private static final long serialVersionUID = 4520091239961308600L;

	private String parentName;
	
	private String parentPhone;
	
	private String relation;
	
	private String headImgUrl;
	
	private String relationType;
	
	private List<AttachmentList> attachList;

	public String getParentName() {
		return parentName;
	}

	public void setParentName(String parentName) {
		this.parentName = parentName;
	}

	public String getParentPhone() {
		return parentPhone;
	}

	public void setParentPhone(String parentPhone) {
		this.parentPhone = parentPhone;
	}

	public String getHeadImgUrl() {
		return headImgUrl;
	}

	public void setHeadImgUrl(String headImgUrl) {
		this.headImgUrl = headImgUrl;
	}

	public String getRelation() {
		return relation;
	}

	public void setRelation(String relation) {
		this.relation = relation;
	}

	public List<AttachmentList> getAttachList() {
		return attachList;
	}

	public void setAttachList(List<AttachmentList> attachList) {
		this.attachList = attachList;
	}

	public String getRelationType() {
		return relationType;
	}

	public void setRelationType(String relationType) {
		this.relationType = relationType;
	}
	
	public String getGradeText() {
		return TermView.getGradeName(super.getGrade(), super.getStudyType());
	}
}
